package com.yunkeji.dao.vo.sys;

import java.util.Date;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 封禁IP和设备记录视图对象 ykj_sys_ip_device_banned
 *
 * @author yunkeji
 * @date 2024-09-26
 */
@Data
@ExcelIgnoreUnannotated
public class SysIpDeviceBannedVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 自增主键
     */
    @ExcelProperty(value = "自增主键")
    private Long id;

    /**
     *
     */
    @ExcelProperty(value = "")
    private Long userId;

    /**
     * 操作原因
     */
    @ExcelProperty(value = "操作原因")
    private String reason;

    /**
     * 封号结束时间
     */
    @ExcelProperty(value = "封号结束时间")
    private Date endTime;

    /**
     * 0=分钟,1=一天,2=3天,3=一周,4=一个月,5=三个月,99=永久
     */
    @ExcelProperty(value = "0=分钟,1=一天,2=3天,3=一周,4=一个月,5=三个月,99=永久")
    private Integer limitType;

    /**
     * 爱洞ID
     */
    @ExcelProperty(value = "爱洞ID")
    private Long platformId;

    /**
     * 封禁类别，0=ip，1=设备
     */
    @ExcelProperty(value = "封禁类别，0=ip，1=设备")
    private Integer bannedType;

    /**
     * 封禁目标内容
     */
    @ExcelProperty(value = "封禁目标内容")
    private String target;


}
